package org.dromara.system.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.system.domain.Device;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 设备信息视图对象 device
 *
 * @author Lion Li
 * @date 2024-10-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Device.class)
public class DeviceVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 设备ID
     */

    private Long id;

    /**
     * 设备分组ID
     */
    private Long groupId;

    private Long tunnelId;

    private String tunnelName;

    /**
     * 设备编号
     */
    private String deviceNo;

    /**
     * 名称
     */
    private String deviceName;

    /**
     * 变量id
     */
    private Long variableAssociation;

    /**
     * 状态 (0-离线, 1-正常)
     */
    private int status;
    private int alarm;
    private int collect;

    /**
     * 地址
     */
    private String address;
    private String site;

    private String remark;
    private String groupName;
    //    private String variableAssociationName;
    private List<Long> variableAssociationIds;

    private List<NameVo> variableList;//绑定的变量列表


}
